package com.quan.feign;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import com.quan.common.base.bean.ResultBean;
import com.quan.system.entity.SystemLog;

@Component
public class SystemLogServiceFallback implements SystemLogService {

	private Logger logger = LoggerFactory.getLogger(this.getClass());

	@Override
	public ResultBean add(SystemLog entity) {
		logger.info("服务不可用，日志信息记录失败");
		return ResultBean.failure("服务不可用，日志信息记录失败");
	}
}
